package student.aistar.model.entity;


import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

public class Orders implements Serializable {

  private Integer orderId;

  private Long orderNumber;

  private Integer userId;

  private Integer payType;

  private Integer shipmentTime;

  private Integer shipmentType;

  private Double shipmentAmount;

  private Integer invoiceType;

  private String invoiceTitle;

  private Integer orderStatus;

  private Timestamp createTime;

  private Long orderAmount;

  private Long payAmount;
  private Integer addressId;

  private Integer buyNumber;

  public Orders() {
  }

  public Orders(Integer orderId, Long orderNumber, Integer userId, Integer payType, Integer shipmentTime, Integer shipmentType, Double shipmentAmount, Integer invoiceType, String invoiceTitle, Integer orderStatus, Timestamp createTime, Long orderAmount, Long payAmount, Integer addressId, Integer buyNumber) {
    this.orderId = orderId;
    this.orderNumber = orderNumber;
    this.userId = userId;
    this.payType = payType;
    this.shipmentTime = shipmentTime;
    this.shipmentType = shipmentType;
    this.shipmentAmount = shipmentAmount;
    this.invoiceType = invoiceType;
    this.invoiceTitle = invoiceTitle;
    this.orderStatus = orderStatus;
    this.createTime = createTime;
    this.orderAmount = orderAmount;
    this.payAmount = payAmount;
    this.addressId = addressId;
    this.buyNumber = buyNumber;
  }

  public Integer getOrderId() {
    return orderId;
  }

  public void setOrderId(Integer orderId) {
    this.orderId = orderId;
  }

  public Long getOrderNumber() {
    return orderNumber;
  }

  public void setOrderNumber(Long orderNumber) {
    this.orderNumber = orderNumber;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public Integer getPayType() {
    return payType;
  }

  public void setPayType(Integer payType) {
    this.payType = payType;
  }

  public Integer getShipmentTime() {
    return shipmentTime;
  }

  public void setShipmentTime(Integer shipmentTime) {
    this.shipmentTime = shipmentTime;
  }

  public Integer getShipmentType() {
    return shipmentType;
  }

  public void setShipmentType(Integer shipmentType) {
    this.shipmentType = shipmentType;
  }

  public Double getShipmentAmount() {
    return shipmentAmount;
  }

  public void setShipmentAmount(Double shipmentAmount) {
    this.shipmentAmount = shipmentAmount;
  }

  public Integer getInvoiceType() {
    return invoiceType;
  }

  public void setInvoiceType(Integer invoiceType) {
    this.invoiceType = invoiceType;
  }

  public String getInvoiceTitle() {
    return invoiceTitle;
  }

  public void setInvoiceTitle(String invoiceTitle) {
    this.invoiceTitle = invoiceTitle;
  }

  public Integer getOrderStatus() {
    return orderStatus;
  }

  public void setOrderStatus(Integer orderStatus) {
    this.orderStatus = orderStatus;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  public Long getOrderAmount() {
    return orderAmount;
  }

  public void setOrderAmount(Long orderAmount) {
    this.orderAmount = orderAmount;
  }

  public Long getPayAmount() {
    return payAmount;
  }

  public void setPayAmount(Long payAmount) {
    this.payAmount = payAmount;
  }

  public Integer getAddressId() {
    return addressId;
  }

  public void setAddressId(Integer addressId) {
    this.addressId = addressId;
  }

  public Integer getBuyNumber() {
    return buyNumber;
  }

  public void setBuyNumber(Integer buyNumber) {
    this.buyNumber = buyNumber;
  }

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("Orders{");
    sb.append("orderId=").append(orderId);
    sb.append(", orderNumber=").append(orderNumber);
    sb.append(", userId=").append(userId);
    sb.append(", payType=").append(payType);
    sb.append(", shipmentTime=").append(shipmentTime);
    sb.append(", shipmentType=").append(shipmentType);
    sb.append(", shipmentAmount=").append(shipmentAmount);
    sb.append(", invoiceType=").append(invoiceType);
    sb.append(", invoiceTitle='").append(invoiceTitle).append('\'');
    sb.append(", orderStatus=").append(orderStatus);
    sb.append(", createTime=").append(createTime);
    sb.append(", orderAmount=").append(orderAmount);
    sb.append(", payAmount=").append(payAmount);
    sb.append(", addressId=").append(addressId);
    sb.append(", buyNumber=").append(buyNumber);
    sb.append('}');
    return sb.toString();
  }
}